package com.xmg.design23.d20_command;

/**
 * 具体命令
 * @Author: mazhongqing
 * @Date: 2021/3/25 14:37
 */
public class ConcreteCommand implements Command {
    private Receiver receiver;

    public ConcreteCommand() {
        this.receiver = new Receiver();
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
